/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gracefulmm.dealImage;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class TestLog4j {

    static Logger logger = Logger.getLogger(TestLog4j.class);

    public static void main(String args[]) {
        PropertyConfigurator.configure("properties/log4j.properties");
        logger.info("Hello World");
        logger.error("Hello World");
        logger.warn("Hello World");
        logger.debug("Hello World");
    }
}
